﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;

namespace ThridGroup.ERP.DTO.ShiftSchedulingManagementDto
{
    /// <summary>
    /// 班组设置Dto
    /// </summary>
    public class TeanListDto:EntityDto<int>
    {
        /// <summary>
        /// 班组编号
        /// </summary>
        [Required(ErrorMessage = "班组编号不能为空")]
        public string TeamNumber { get; set; }
        
        /// <summary>
        /// 班组名称
        /// </summary>
        [Required(ErrorMessage = "班组名称不能为空")]
        public string TeamName { get; set; }

        /// <summary>
        /// 班组类型
        /// </summary>
        [Required(ErrorMessage = "班组类型不能为空")]
        public string TeamType { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Descr { get; set; }
    }
}
